package JLB_Chapter_06;
// code_06_12
public class StaticVariable {
    // 静态变量
    static int x;
    //普通成员变量
    int y;
    public StaticVariable(int x, int y) {
        this.x = x;
        this.y = y;
    }
    public static void main(String[] args) {
        StaticVariable a = new StaticVariable(1,2);
        StaticVariable b = new StaticVariable(13,17);
        System.out.println("a.x = " + a.x);
        System.out.println("a.y = " + a.y);
        System.out.println("b.x = " + b.x);
        System.out.println("b.y = " + b.y);
    }
}
